package com.zhaoxi.project.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zhaoxi.framework.aspectj.lang.annotation.Excel;
import com.zhaoxi.framework.web.domain.BaseEntity;
import lombok.Data;

/**
 * 租户对象 sys_tenant
 * 
 * @author zhaoxi
 * @date 2023-08-07
 */
@Data
public class SysTenant extends BaseEntity{
    private static final long serialVersionUID = 1L;

    /** 用户id */
    private Long tenantId;

    /** 登录名 */
    @Excel(name = "登录名")
    private String name;

    /** 用户数量限制 */
    @Excel(name = "用户数量限制")
    private Long userNumLimit;

    /** 到期时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "到期时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date expireTime;

    /** 启用 */
    @Excel(name = "启用")
    private String enableFlag;


}
